package edu.sctu.practice.class02.xuqianlan.test.test26;

/**
 * Created by lenovo on 2015/11/12.
 */
public abstract class Role {
    private String name;
    private int age;
    private  char gender;

    public abstract void play();
    public Role(String name,int age){
        this.name=name;
        this.age=age;
    }
    public Role(String name,int age,char gender){
        this.name=name;
        this.age=age;
        this.gender=gender;
    }

}
